import request from "../utils/request"
import {stringify} from "qs"

export async function lists(params) {
  return request(`/api/goods/lists?${stringify(params)}`);
}

export async function detail(params) {
  return request(`/api/goods/detail?${stringify(params)}`);
}
